/*
 * @Description: table的列字段
 * @Author: youzi
 * @Date: 2020-05-20 09:35:34
 * @LastEditors: youzi
 * @LastEditTime: 2020-07-14 09:51:43
 */

/* CREATE TABLE `m_project` (
  `ID` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `PROJECT_NAME` varchar(100) NOT NULL COMMENT '项目名称',
  `COMPANY_NAME` varchar(100) NOT NULL COMMENT '公司名称',
  `DEPT_NAME` varchar(200) NOT NULL COMMENT '部门名称',
  `STATUS` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否有效 0有效 1无效',
  `REMARK` varchar(255) DEFAULT NULL,
  `CREATE_TIME` datetime NOT NULL COMMENT '创建时间',
  `CREATE_USER_ID` bigint(20) NOT NULL DEFAULT '1' COMMENT '创建人',
  `MODIFY_TIME` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  `MODIFY_USER_ID` bigint(20) DEFAULT NULL COMMENT '最后修改人',
  PRIMARY KEY (`ID`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=213 DEFAULT CHARSET=utf8 COMMENT='数字字典值表'; */

import { addColumnEllipsis, amountRender } from "utils/common";

let project = [
  { dataIndex: "logContent", title: "logContent", align: "center" },
  { dataIndex: "logType", title: "logType", },
  { dataIndex: "operation", title: "operation" },
  { dataIndex: "createTime", title: "createTime" },
  { dataIndex: "loginUser", title: "loginUser", },
  { dataIndex: "ip", title: "ip", },
  {
    dataIndex: "operationSolt",
    title: "操作",
    scopedSlots: { customRender: "operation" },
    align: "center",
    width: 180
  }
];
project = addColumnEllipsis(project);
export default project;
